/**
 * Created with IntelliJ IDEA.
 * User: wenxiwen
 * Date: 2022/3/9
 * Time: 19:31
 * Description: No Description
 */
public class TestDemo {
    public static void main(String[] args) {
        String a="123";
        int b=Integer.valueOf(a);
        System.out.println(b+10);

    }
    public static void main9(String[] args) {
        int a=10;
        String str=a+"";
        System.out.println(str);
        String str1=String.valueOf(a);
        System.out.println(str1);

    }
    public static void main8(String[] args) {
        String s1= "wenxiwen";
        String s2= "比个心";
        System.out.println(s1+s2);
        int a=10;
        int b=20;
        System.out.println("a+b="+a+b);
        System.out.println("a+b="+(a+b));
    }
    public static void main7(String[] args) {
        byte a=10;
        byte b=20;
        byte c=(byte)(a+b);
        System.out.println(c);
    }
    public static void main6(String[] args) {
        char a='中';
        System.out.println((int)a);
        System.out.println((int)Character.MAX_VALUE);
        System.out.println((int)Character.MIN_VALUE);
    }
    public static void main5(String[] args) {
        byte b=(byte)130;
        System.out.println(b);
        System.out.println(Byte.MAX_VALUE);
        System.out.println(Byte.MIN_VALUE);
    }
    public static void main4(String[] args) {
        long a=10L;
        System.out.println(a);
        System.out.println(Long.MAX_VALUE);
        System.out.println(Long.MIN_VALUE);
    }
    public static void main3(String[] args) {
        short a=10;
        System.out.println(a);
        System.out.println(Short.MAX_VALUE);
        System.out.println(Short.MIN_VALUE);
    }
    public static void main2(String[] args) {
        int a=10;
        System.out.println(a);
        System.out.println(Integer.MAX_VALUE);
        System.out.println(Integer.MIN_VALUE);
    }
    public static void main1(String[] args) {
        System.out.println("HelloWorld");
        System.out.println("hehe");
        boolean a=true;
        System.out.println(a);
        int b=10;
        System.out.println(b);
        b=999;
        System.out.println(b);
    }
}